Enter a type and click search.




Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-review/etc/di.xml

<type name="Magento\Framework\Model\ActionValidator\RemoveAction">
    <arguments>
        <argument name="protectedModels" xsi:type="array">
            <item name="review" xsi:type="string">
                Magento\Review\Model\Review
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that the following arguments should be used in the foo object's constructor.

  • $protectedModels = [...items...];
Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-customer/etc/di.xml

<type name="Magento\Framework\Model\ActionValidator\RemoveAction">
    <arguments>
        <argument name="protectedModels" xsi:type="array">
            <item name="customer" xsi:type="string">
                Magento\Customer\Model\Customer
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that the following arguments should be used in the foo object's constructor.

  • $protectedModels = [...items...];
Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-webapi/etc/webapi_soap/di.xml

<preference for="Magento\Framework\Model\ActionValidator\RemoveAction"
            type="Magento\Framework\Model\ActionValidator\RemoveAction\Allowed"></preference>

This is a preference configuration.

This configuration is for the webapi_soap area. This is the area that corresponds with the SOAP Api sub-application.

This preference configuration tells the Object Manager when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that it should return a Magento\Framework\Model\ActionValidator\RemoveAction\Allowed object.

Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-webapi/etc/webapi_rest/di.xml

<preference for="Magento\Framework\Model\ActionValidator\RemoveAction"
            type="Magento\Framework\Model\ActionValidator\RemoveAction\Allowed"></preference>

This is a preference configuration.

This configuration is for the webapi_rest area. This is the area that corresponds with the REST Api sub-application.

This preference configuration tells the Object Manager when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that it should return a Magento\Framework\Model\ActionValidator\RemoveAction\Allowed object.

Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-store/etc/di.xml

<type name="Magento\Framework\Model\ActionValidator\RemoveAction">
    <arguments>
        <argument name="protectedModels" xsi:type="array">
            <item name="store" xsi:type="string">
                Magento\Store\Model\Store
            </item>
            <item name="website" xsi:type="string">
                Magento\Store\Model\Website
            </item>
            <item name="storeGroup" xsi:type="string">
                Magento\Store\Model\Group
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that the following arguments should be used in the foo object's constructor.

  • $protectedModels = [...items...];
Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-sales/etc/di.xml

<type name="Magento\Framework\Model\ActionValidator\RemoveAction">
    <arguments>
        <argument name="protectedModels" xsi:type="array">
            <item name="salesOrder" xsi:type="string">
                Magento\Sales\Model\Order
            </item>
            <item name="salesOrderCreditmemo" xsi:type="string">
                Magento\Sales\Model\Order\Creditmemo
            </item>
            <item name="salesOrderInvoice" xsi:type="string">
                Magento\Sales\Model\Order\Invoice
            </item>
            <item name="salesOrderShipment" xsi:type="string">
                Magento\Sales\Model\Order\Shipment
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that the following arguments should be used in the foo object's constructor.

  • $protectedModels = [...items...];
Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-backend/etc/adminhtml/di.xml

<preference for="Magento\Framework\Model\ActionValidator\RemoveAction"
            type="Magento\Framework\Model\ActionValidator\RemoveAction\Allowed"></preference>

This is a preference configuration.

This configuration is for the adminhtml area. This is the area that corresponds with the Magento admin sub-application.

This preference configuration tells the Object Manager when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that it should return a Magento\Framework\Model\ActionValidator\RemoveAction\Allowed object.

Results for Magento\Framework\Model\ActionValidator\RemoveAction

File: vendor/magento/module-catalog/etc/di.xml

<type name="Magento\Framework\Model\ActionValidator\RemoveAction">
    <arguments>
        <argument name="protectedModels" xsi:type="array">
            <item name="catalogCategory" xsi:type="string">
                Magento\Catalog\Model\Category
            </item>
            <item name="catalogProduct" xsi:type="string">
                Magento\Catalog\Model\Product
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that the following arguments should be used in the foo object's constructor.

  • $protectedModels = [...items...];